package com.atguigu.eduorder.client;

import com.atguigu.commonutil.CourseWebVoOrder;
import com.atguigu.commonutil.R;
import com.atguigu.eduservice.vo.frontVo.CourseWebVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-edu")
public interface EduClient {


    @GetMapping("/eduservice/courseFront/getCourseInfoOrder/{id}")
    public CourseWebVo getCourseInfoOrder(@PathVariable String id);
}
